package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;


public interface EmployeeService {
    //登录
    ResultInfo login(String username, String password);

    //查询用户列表
    List<Employee> findByName(String name);

    //新增用户
    void save(Employee employee);

    //回显用户信息
    Employee findByID(Long id);

    //修改用户信息
    void update(Employee employee);
}
